<div ng-class="{'dropup':upPosition, 'dropDown':!upPosition}">
    <div class="drop-down-header form-control txt-show spill-dots cursor-pointer" title="{{selectedObj.className}}" ng-click="toggleDropDown()">
        {{selectedObj.className || '请选择供货商分类'}}
        <i class="yb-icon ico-chevron-down"></i>
    </div>
    <div class="drop-down-con" ng-if="enablePopup" ng-click="$event.stopPropagation();">
        <div class="wrapper-y-xs wrapper-x-sm">
            供货商分类
            <span ng-repeat="obj in tabObj track by $index">
                <span ng-if="$first">:</span>
                <span ng-if="$index > 0">-></span>
                {{obj.className}}
            </span>
        </div>
        <div class="row">
            <div tabset class="col-xs-12">
                <div tab heading="供货商分类" active="activeFlag[0]">
                    <div class="col-xs-12">
                        <ul class="wrapper-y-sm clearfix select-list">
                            <li ng-class="{active: tabObj[0].className == item.className}"
                                ng-repeat="item in firstClassList track by $index" ng-click="selectClassItem(1, item)">
                                {{item.className}}
                            </li>
                        </ul>
                    </div>
                </div>
                <div tab heading="{{tabObj[0].className}}" active="activeFlag[1]" ng-show="secondClassList.length > 0">
                    <div class="col-xs-12">
                        <ul class="wrapper-y-sm clearfix select-list">
                            <li ng-class="{active: tabObj[1].className == item.className}"
                                ng-repeat="item in secondClassList track by $index" ng-click="selectClassItem(2, item)">
                                {{item.className}}
                            </li>
                        </ul>
                    </div>
                </div>
                <div tab heading="{{tabObj[1].className}}" active="activeFlag[2]" ng-show="thirdClassList.length > 0">
                    <div class="col-xs-12">
                        <ul class="wrapper-y-sm clearfix select-list">
                            <li ng-class="{active: tabObj[2].className == item.className}"
                                ng-repeat="item in thirdClassList track by $index" ng-click="selectClassItem(3, item)">
                                {{item.className}}
                            </li>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
        <div class="modal-footer clearfix">
            <span class="btn btn-primary btn-sm pull-right m-l-sm" ng-click="ok()">确定</span>
            <span class="btn btn-default btn-sm pull-right" ng-click="cancel()">取消</span>
        </div>
    </div>
</div>
